<?php
class App_Module_Admin_Component_Structure_Tpl_Pageparams extends App_Module_Admin_Tpl_Block_Editform
{
	protected $_showDefined = true;
	protected $_form = 'structure/page';
	
	public function GetBlock(Mozg_Property_Params $obj)
	{
		$this->obj = $obj;
		$this->block = parent::GetBlock($obj);
		return $this->render('structure/_pageparams.phtml');
	}
	
	protected function GetNewFieldUrl()
	{
		return array('module' => 'admin', 'ctrl' => 'structure', 'action' => 'newpagefield');
	}
}